-
Notifications
You must be signed in to change notification settings - Fork 5
Adjustments/messaging #1061
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjustments/messaging #1061
Conversation
- Updated the messaging flow diagram to include error handling for adding participants. - Improved the events location selector flow diagram with clearer method labels. - Added new diagrams for platform manager functionalities: user administration, invitation system, user support, and security monitoring. - Created user authentication flow diagram to illustrate the sign-in process. - Refactored user management flow diagram to serve as an index linking to detailed sub-diagrams. - Introduced user profile management flow diagram to outline profile editing processes. - Implemented client-side validation for conversation creation to prevent empty messages. - Enhanced conversation factory to ensure initial messages are present for validation. - Added tests for conversation creation with initial messages and profile message prefill functionality. - Updated resource toolbar to support additional actions via block content.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codex Review: Here are some suggestions.
Reply with @codex fix comments to fix any unresolved comments.
About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you open a pull request for review, mark a draft as ready, or comment "@codex review". If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex fix this CI failure" or "@codex address that feedback".
… persistence of core fields in controller specs
This pull request introduces several improvements to model attribute handling, controller parameter security, test configuration, and UI/UX for resource and conversation management. The main focus is on making attribute permission more maintainable and DRY, enhancing automated test setup, and improving the responsiveness and accessibility of shared UI components.
Model attribute permission and controller parameter security:
self.permitted_attributeson models, allowing controllers to use model-defined permit lists instead of hard-coding them. Nested attributes are composed by referencing other models’permitted_attributes. [1] [2]conversations_controller.rb,messages_controller.rb,navigation_areas_controller.rb, andnavigation_items_controller.rbto use model-definedpermitted_attributesfor strong parameters, improving maintainability and consistency. [1] [2] [3] [4]Automatic test configuration and authentication helpers:
configure_host_platform, streamlining test writing and reducing boilerplate. [1] [2]UI/UX improvements for resource toolbar and conversation header:
.resource-toolbarand.resource-toolbar-extrato improve layout and spacing for shared resource actions, and imported these styles in the main stylesheet. [1] [2]Form label accessibility and validation:
required_labelhelper to support label text overrides and provide a tooltip for the required field indicator, improving accessibility and mobile usability.Conversation creation and participant management:
add_participant_safe. [1] [2]Let me know if you want to dive deeper into any specific change!